Make the init.d scripts messages fancier by prepending them a [....] block.
== Implementation ==
* The logging functions assign the status block as "[....]" when
printing the log message.
Concerned functions:
- log_daemon_msg
- log_action_begin_msg
- log_begin_msg (despite not being a documented interface)
* The log message conclusion functions replace the status block by
either a green [ ok ], a yellow [warn] or a red [FAIL] by
Concerned functions:
- log_end_msg
This is implemented as _pre/_post functions.
== Documentation ==
* lsb-base.README.Debian is updated with the new _pre/_post functions.
* lsb-base.NEWS gets a new entry with information meant for experimental
users and init.d scripts maintainers.
== Pseudo-headers ==
Closes: #416485
Reported-by: Alessio <alga777@gmail.com>
Not-used-but-useful-patch-by: Alessio <alga777@gmail.com>
Not-used-but-useful-patch-by: Nico Golde <nion@debian.org>
Idea-by: Mehdi Dogguy <mehdi@debian.org>
Signed-off-by: Didier Raboud <odyx@debian.org>